class TestDestory {
    private String str = "How are you";

    public void finalize() {
        str = null;
        System.out.println(str);
    }
}
